package com.example.netty.vo;

import java.util.List;

/**
 * 用户主体
 * @author zclever <304078606@qq.com>
 * @date 2021-03-02
 */
public class User {

    private int id;
    private String name;
    private List<Shoe> shoeList;
    private boolean isRoot;
    private boolean isAttack;
    private int blood;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Shoe> getShoeList() {
        return shoeList;
    }

    public void setShoeList(List<Shoe> shoeList) {
        this.shoeList = shoeList;
    }

    public boolean isRoot() {
        return isRoot;
    }

    public void setRoot(boolean root) {
        isRoot = root;
    }

    public boolean isAttack() {
        return isAttack;
    }

    public void setAttack(boolean attack) {
        isAttack = attack;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", shoeList=" + shoeList +
                ", isRoot=" + isRoot +
                ", isAttack=" + isAttack +
                ", blood=" + blood +
                '}';
    }
}
